# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# File       : run_status_schema.py
# Time       ：2023/10/31 14:05
# Author     ：YangYong
# version    ：python 3.10
# Description：运行状态序列化类
"""
from marshmallow import fields
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema


class RunStatusSchema(SQLAlchemyAutoSchema):
    name = fields.String()
    value = fields.Integer()


class RunStatusBarSchema(SQLAlchemyAutoSchema):
    spotName = fields.String()
    value = fields.Integer()
